Unified Requester
class UnifiedRequester(client: <ERROR CLASS>, serialFormat: StandardKtorSerialFormat)
Content copied to clipboard
Functions
create Standard Websocket Flow
Link copied to clipboard
encode Url Query Value
Link copied to clipboard
fun <T> encodeUrlQueryValue(serializationStrategy: SerializationStrategy<T>, value: T): String
Content copied to clipboard
uniget
Link copied to clipboard
suspend fun <ResultType> uniget(url: String, resultDeserializer: DeserializationStrategy<ResultType>): ResultType
Content copied to clipboard
unimultipart
Link copied to clipboard
suspend fun <ResultType> unimultipart(url: String, mppFile: MPPFile, resultDeserializer: DeserializationStrategy<ResultType>, mimetype: String = "*/*", additionalParametersBuilder: <ERROR CLASS>.() -> Unit = {}, dataHeadersBuilder: <ERROR CLASS>.() -> Unit = {}, requestBuilder: <ERROR CLASS>.() -> Unit = {}): ResultType
Content copied to clipboard
suspend fun <BodyType, ResultType> unimultipart(url: String, mppFile: MPPFile, otherData: BodyPair<BodyType>, resultDeserializer: DeserializationStrategy<ResultType>, mimetype: String = "*/*", additionalParametersBuilder: <ERROR CLASS>.() -> Unit = {}, dataHeadersBuilder: <ERROR CLASS>.() -> Unit = {}, requestBuilder: <ERROR CLASS>.() -> Unit = {}): ResultType
Content copied to clipboard
suspend fun <ResultType> unimultipart(url: String, filename: String, inputProvider: <ERROR CLASS>, resultDeserializer: DeserializationStrategy<ResultType>, mimetype: String = "*/*", additionalParametersBuilder: <ERROR CLASS>.() -> Unit = {}, dataHeadersBuilder: <ERROR CLASS>.() -> Unit = {}, requestBuilder: <ERROR CLASS>.() -> Unit = {}): ResultType
Content copied to clipboard
suspend fun <BodyType, ResultType> unimultipart(url: String, filename: String, inputProvider: <ERROR CLASS>, otherData: BodyPair<BodyType>, resultDeserializer: DeserializationStrategy<ResultType>, mimetype: String = "*/*", additionalParametersBuilder: <ERROR CLASS>.() -> Unit = {}, dataHeadersBuilder: <ERROR CLASS>.() -> Unit = {}, requestBuilder: <ERROR CLASS>.() -> Unit = {}): ResultType
Content copied to clipboard
unipost
Link copied to clipboard
suspend fun <BodyType, ResultType> unipost(url: String, bodyInfo: BodyPair<BodyType>, resultDeserializer: DeserializationStrategy<ResultType>): <ERROR CLASS>
Content copied to clipboard